home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000053_tim@maths.tcd.ie_Wed Oct 13 20:40:07 1993.msg < prev    next >
Internet Message Format  |  1994-10-11  |  1KB

  1. Received: from salmon.maths.tcd.ie by cs.umb.edu with SMTP id AA01084
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Wed, 13 Oct 1993 20:40:07 -0400
  3. Subject: Re: Speed of (recursive) search in the Kpathsearch library
  4. To: Frank Jensen <fj@iesd.auc.dk>
  5. Date: Tue, 12 Oct 1993 16:04:19 (BST)
  6. From: Timothy Murphy <tim@maths.tcd.ie>
  7. Cc: tex-k@cs.umb.edu
  8. In-Reply-To: <199310121354.AA16877@loke.iesd.auc.dk> from "Frank Jensen" at Oct 12, 93 02:54:44 pm
  9. X-Mailer: ELM [version 2.4 PL21]
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=US-ASCII
  12. Content-Transfer-Encoding: 7bit
  13. Content-Length: 615       
  14. Message-Id:  <9310121604.aa24885@salmon.maths.tcd.ie>
  15.  
  16.  
  17. > I'm sure most people have noticed the delay due to the recursive
  18. > search of subdirectories when TeX starts up.  
  19.  
  20. While your scheme seems a good idea to me,
  21. it may be worth noting that Karl's subdirectory search algorithm
  22. works best if each subdirectory in or below the search path
  23. _either_ contains only subdirectories
  24. _or_ contains only files.
  25.  
  26. The first step in Karl's recursive algorithm
  27. is to determine if the directory being examined
  28. contains any subdirectories.
  29. If it does, every file or subdirectory is "stat"ed,
  30. which can take a non-negligible time,
  31. particularly on a remote computer.
  32.  
  33. Timothy Murphy
  34.